package com.t2two.example.projects;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @version 1.0
 * @description: TODO
 * @author: lifei
 * @date: 2023/12/4 11:51
 */
@Data
public class AmountResult {

    private Long id;
    private BigDecimal parentAmount;   // 父部门及其子部门的支出金额
    private BigDecimal selfAmount;     // 部门自身支出的费用

    public AmountResult(BigDecimal parentAmount, BigDecimal selfAmount) {
        this.parentAmount = parentAmount;
        this.selfAmount = selfAmount;
    }

    // 省略 getter 和 setter 方法
}
